package com.quanta.edaily.pojo;

import jakarta.validation.constraints.Digits;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String edailyId;
    private String name;
    private String phone;
    private String password;
    private String token;
    private Boolean gender; // 1: male
    private String introduction;
    private Integer attentions;
    private Integer fans;
    private Integer favourites;
    private String avatarUrl;
    private List<Article> articleList; // 实际不存储
}
